package org.dwpd.mapper.board;

import org.apache.ibatis.annotations.Mapper;
import org.dwpd.domain.board.BoardMessage;

import java.util.List;

@Mapper
public interface BoardMapper {
    void addMessage(Integer userId, String comment, String userImage);

    List<BoardMessage> getAllMessage();

    Integer deleteMessage(Integer bmId);

    Integer getMessageUserIdById(Integer bmId);
}
